<template>
  <div id="app">
    <!-- 给子组件传值 -->
    <MyContent :myTitle="msg" @newName="msg=$event"></MyContent>
  </div>
</template>
<script>
  export default {
    name: 'app',
    data() {
      return {
        msg: '父组件传给子组件!!!'
      }
    },
    methods: {
      FCfn(m) {
        this.msg = m
      }
    }
  }
</script>
<style>
</style>
